package com.hzhr.iot.device.sdk.model.concentrator_commandSend;


import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "Concentrator_CommandSendPostModel", description = "集中器的指令推送模型(创建)")
public class Concentrator_CommandSendPostModel {
    @ApiModelProperty(value = "说明 : 指令类型(1：集中器时钟设置；" +
            "2：集中器心跳周期设置；3：集中器时钟查询；4：集中器心跳周期查询；5：集抄; 6:重启集中器)", required = true)
    @CygProperty(show = "", entityProp = "")
    private Integer type;
    @ApiModelProperty(value = "说明 : 集中器心跳周期(单位:秒)")
    @CygProperty(show = "", entityProp = "")
    private Integer heartPeriod;
    @ApiModelProperty(value = "说明 : 集中器时钟(时间戳)")
    @CygProperty(show = "", entityProp = "")
    private Long time;

    public Integer getHeartPeriod() {
        return heartPeriod;
    }

    public void setHeartPeriod(Integer heartPeriod) {
        this.heartPeriod = heartPeriod;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }
}

